package com.zhangtai.modules.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 绩效 考核占比
 *
 */
@Data
public class PerformanceRatioVo implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 名称
		 */
			@ApiModelProperty(value="名称",required = false)
			private String name;
	/**
	 *A 占比
	 */
	@ApiModelProperty(value="A占比")
	@NotNull(message = "A占比不能为空")
	private BigDecimal percentageA;
	/**
	 * B占比
	 */
	@ApiModelProperty(value="B占比")
	@NotNull(message = "B占比不能为空")
	private BigDecimal percentageB;
	/**
	 * B+占比
	 */
	@ApiModelProperty(value="B+占比")
	@NotNull(message = "B+占比不能为空")
	private BigDecimal percentageBPlus;
	/**
	 * C占比
	 */
	@ApiModelProperty(value="C占比")
	@NotNull(message = "C占比不能为空")
	private BigDecimal percentageC;
	/**
	 * D占比
	 */
	@ApiModelProperty(value="D占比")
	@NotNull(message = "D占比不能为空")
	private BigDecimal percentageD;
	
}
